package com.sunny.value;

/**
 * @Author zsunny
 * @Date 2018/9/23 11:13
 * @Mail zsunny@yeah.net
 */
public class A {
    private int a = 1;
    public int b = 2;

    public void print(){
        System.out.println(a + " " + b);
    }

}

class B extends A{
    public int a = 11;
    public int b = 22;

    public static void main(String[] args) {
        B b = new B();
        b.print();
    }
}